package com.oa.demo.common.annotation;

import com.oa.demo.common.configure.BaseAuthExceptionConfigure;
import org.springframework.context.annotation.Import;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 定义基础异常导入注解
 * @author 孔德成
 * @date 2020/11/24 16:50
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import(BaseAuthExceptionConfigure.class)
public @interface EnableBaseAuthExceptionHandler {
}
